package com.wzy.oa_sys.service.attendance;

import com.wzy.oa_sys.model.request.attendance.VacationReq;
import com.wzy.oa_sys.model.response.attendance.VacationResp;
import com.wzy.oa_sys.model.response.notice.NoticeResp;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface VacationService {
    List<VacationResp> getVacationList();

    List<VacationResp> getApprovedVacationList(HttpServletRequest request);

    void addVacation(VacationReq vacationReq,long userId);

    int deleteVacationById(Integer id);

    VacationResp getVacationDetailById(Integer id);

    List<VacationResp> getICanApprovedVacations(long userId);

    void updateTheVacation(VacationReq vacationReq, HttpServletRequest request);

    List<VacationResp> getICanSeeVacations(HttpServletRequest request);

    void updateVacation(VacationReq vacationReq, HttpServletRequest request);
}
